﻿using System;
using System.Collections.Generic;

namespace SBPweb.PROvibe.Business.Shared.Contracts.Content
{

    public class ContentItemDescriptor
    {

        #region Constructor logic

        public ContentItemDescriptor()
        {
        }

        public ContentItemDescriptor(TypeDescriptor descriptor, ContainerDescriptor containerDescriptor)
        {
            this.Descriptor = descriptor;
            this.Children = new List<ContentItemDescriptor>();
            this.TargetContainer = containerDescriptor;
        }

        #endregion

        #region Property accessors

        public TypeDescriptor Descriptor
        {
            get;
            set;
        }

        public ContainerDescriptor TargetContainer
        {
            get;
            set;
        }

        public List<ContentItemDescriptor> Children
        {
            get;
            set;
        }

        #endregion

    }

}